package org.lgy.sys_a.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class IndexController {

    @RequestMapping("/test")
    public String test(HttpServletRequest request, Model model) {
        return "test";
    }
    @RequestMapping("/success")
    public String success(HttpServletRequest request, Model model) {
        return "success";
    }
}
